package day0228;

public class trimDemo {
    public static void main(String[] args) {
        String line ="   我爱java  ";
        line.trim();
        System.out.println(line);
    }
}
